var app = getApp();
var socketOpen = false;
var frameBuffer_Data, session, SocketTask;
var url = 'wss://www.yifale.com/wss';
var upload_url = 'https://www.yifale.com/api/common/upload'

var $ = require('../../utils/js.js');
var image_gy_src = $.image_gy_src;
Page({
  data: {

  },
  // 页面加载
  onLoad: function() {
    wx.getLocation({
      type: 'gcj02',
      success: (res) => { //已经授权定位
        this.setData({
          success: res,
        })
        console.log("success", res);
      },
      fail: (res) => {
        this.setData({
          fail:res
        })
        console.log("fail", res);
      }
    })
  },
})